home *** CD-ROM | disk | FTP | other *** search
- head 1.7;
- branch ;
- access ;
- symbols patch1:1.7;
- locks ; strict;
- comment @ * @;
-
-
- 1.7
- date 88.07.31.18.47.22; author hyc; state Exp;
- branches ;
- next 1.6;
-
- 1.6
- date 88.06.01.19.17.58; author hyc; state Exp;
- branches ;
- next 1.5;
-
- 1.5
- date 88.06.01.17.54.07; author hyc; state Exp;
- branches ;
- next 1.4;
-
- 1.4
- date 88.06.01.15.21.14; author hyc; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 88.06.01.15.19.59; author hyc; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 88.04.11.17.53.03; author hyc; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.04.11.17.51.47; author hyc; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.7
- log
- @Set image mode as UNIX default, text as MTS default
- @
- text
- @/*
- * $Header: arcdata.c,v 1.6 88/06/01 19:17:58 hyc Locked $
- */
-
- /* ARC - Archive utility - ARCDATA
-
- Version 2.17, created on 04/22/87 at 13:09:43
-
- (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
-
- By: Thom Henderson
-
- Description:
- This file defines the external data storage used by the ARC
- archive utility.
-
-
- Language:
- Computer Innovations Optimizing C86
- */
- #include <stdio.h>
-
- #define DONT_DEFINE
- #include "arc.h"
-
- int keepbak = 0; /* true if saving the old archive */
- #if UNIX
- int image = 1; /* true to suppress CRLF/LF x-late */
- #endif
- #if MTS
- int image = 0; /* true to suppress EBCDIC/ASCII x-late */
- char sepchr[2] = ":";/* Shared file separator */
- char tmpchr[2] = "-";/* Temporary file prefix */
- #endif
- #if GEMDOS
- int hold = 0; /* true to pause before exit */
- #endif
- int warn = 1; /* true to print warnings */
- int note = 1; /* true to print comments */
- int bose = 0; /* true to be verbose */
- int nocomp = 0; /* true to suppress compression */
- int overlay = 0; /* true to overlay on extract */
- int kludge = 0; /* kludge flag */
- char *arctemp = NULL; /* arc temp file prefix */
- char *password = NULL;/* encryption password pointer */
- int nerrs = 0; /* number of errors encountered */
- int changing = 0; /* true if archive being modified */
-
- char hdrver; /* header version */
-
- FILE *arc; /* the old archive */
- FILE *new; /* the new archive */
- char arcname[STRLEN]; /* storage for archive name */
- char bakname[STRLEN]; /* storage for backup copy name */
- char newname[STRLEN]; /* storage for new archive name */
- unsigned short arcdate = 0; /* archive date stamp */
- unsigned short arctime = 0; /* archive time stamp */
- unsigned short olddate = 0; /* old archive date stamp */
- unsigned short oldtime = 0; /* old archive time stamp */
- int dosquash = 0; /* true to squash instead of crunch */
- @
-
-
- 1.6
- log
- @Change compilation conditionals
- @
- text
- @d2 1
- a2 1
- * $Header: arcdata.c,v 1.5 88/06/01 17:54:07 hyc Locked $
- d27 2
- a28 2
- #if !DOS
- int image = 0; /* true to suppress CRLF/LF x-late */
- d31 1
- @
-
-
- 1.5
- log
- @Merge ARC 5.21 changes
- @
- text
- @d2 1
- a2 1
- * $Header: arcdata.c,v 1.4 88/06/01 15:21:14 hyc Locked $
- d27 1
- a27 1
- #ifndef DOS
- d30 1
- a30 1
- #ifdef MTS
- d34 1
- a34 1
- #ifdef GEMDOS
- @
-
-
- 1.4
- log
- @Merge Atari ST code
- @
- text
- @d2 1
- a2 1
- * $Header: arcdata.c,v 1.3 88/06/01 15:19:59 hyc Locked $
- d5 16
- a20 15
- /*
- * ARC - Archive utility - ARCDATA
- *
- * Version 2.16, created on 10/24/86 at 14:54:17
- *
- * (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
- *
- * By: Thom Henderson
- *
- * Description: This file defines the external data storage used by the ARC
- * archive utility.
- *
- *
- * Language: Computer Innovations Optimizing C86
- */
- d46 1
- @
-
-
- 1.3
- log
- @Fixed declarations
- @
- text
- @d2 1
- a2 1
- * $Header: arcdata.c,v 1.2 88/04/17 18:41:34 hyc Exp $
- d26 1
- a26 1
- #ifndef MSDOS
- d32 3
- @
-
-
- 1.2
- log
- @re-synch with MTS, add squashing support
- @
- text
- @d2 4
- d25 1
- a25 1
- INT keepbak = 0; /* true if saving the old archive */
- d27 1
- a27 1
- INT image = 0; /* true to suppress CRLF/LF x-late */
- d33 6
- a38 6
- INT warn = 1; /* true to print warnings */
- INT note = 1; /* true to print comments */
- INT bose = 0; /* true to be verbose */
- INT nocomp = 0; /* true to suppress compression */
- INT overlay = 0; /* true to overlay on extract */
- INT kludge = 0; /* kludge flag */
- d41 1
- a41 1
- INT nerrs = 0; /* number of errors encountered */
- d47 8
- a54 8
- char arcname[100]; /* storage for archive name */
- char bakname[100]; /* storage for backup copy name */
- char newname[100]; /* storage for new archive name */
- unsigned INT arcdate = 0; /* archive date stamp */
- unsigned INT arctime = 0; /* archive time stamp */
- unsigned INT olddate = 0; /* old archive date stamp */
- unsigned INT oldtime = 0; /* old archive time stamp */
- INT dosquash = 0; /* true to squash instead of crunch */
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d50 1
- @
-